package com.cms.service;

import java.util.List;
import java.util.Map;

import com.cms.exception.SystemDBException;
import com.cms.model.PageModel;

public interface ReportService {

	 /***
	  * 
	  * @param repCode
	  * @param param
	  * @return
	  */
	 public List<Map>getReportResult(String repCode,Map<String,Object>param)throws Exception;
	 
	 
	 
	 /***
	  *  根据repCode查询当个对象记录
	  * @param repCode
	  * @param param
	  * @return
	  * @throws SystemDBException
	  */
	 public Map<String,Object>querySingleResult(String repCode,Map<String, Object>param)throws Exception;
	 
	 /***
	  * 
	  * @param repCode
	  * @param param
	  * @return
	  * @throws SystemDBException
	  */
	 public PageModel pagingReportResult(String repCode,Map<String,Object>param)throws Exception;
	 
	 
	 /***
	  *  根据repCode查询唯一的报表配置信息
	  * @param repCode
	  * @return
	  * @throws SystemDBException
	  */
	 public Map<String,Object>getRepConfig(String repCode)throws Exception;
	 
	 /**
	  * 
	  * @param catalog
	  * @return
	  */
	 public String queryCmsSeq(String catalog);
	 
	 
	 /**
	  * 
	  * @param catalog
	  * @return
	  */
	 public String querySystemConfig(String config);
}
